package com.gugee.tiktok.data.consumer.blogger.core.service;

import com.gugee.tiktok.data.common.msg.BloggerMessage;

import java.util.List;

/**
 * 消费处理
 */
public abstract class AbstractConsumerHandler{

    public abstract void preHandler(List<BloggerMessage> messages);
    public abstract void spider();
    public abstract void postSpider();
    public void handler(List<BloggerMessage> messages){

        preHandler(messages);
        spider();
        postSpider();
    }

}